package com.spzx.product.service;

import com.spzx.product.api.domain.vo.CategoryVo;
import com.spzx.product.domain.Category;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 商品分类 服务类
 * </p>
 *
 * @author atguigu
 * @since 2024-10-26
 */
public interface CategoryService extends IService<Category> {

    List<Category> getCategoryTree(Long parentId);

    String importCategory(List<Category> categoryList, boolean updateSupport, String operName);

    List<CategoryVo> getCategoryTreeList();
}
